package com.wh.springboot.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wh.springboot.common.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author elsy
 * @since 2023-01-09
 */
public interface UserMapper extends BaseMapper<User> {

    Page<User> findPage(Page<User> page,
                        @Param("username") String username,
                        @Param("nickname") String nickname,
                        @Param("phone") String phone,
                        @Param("address") String address);
}
